package com.xxxx.rpc.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


/**
 * 购物车返回的结果对象
 */
public class CartList implements Serializable {

    private List<CartVo> cartVoList;
    private BigDecimal totalPrice;

    public List<CartVo> getCartVoList() {
        return cartVoList;
    }

    public void setCartVoList(List<CartVo> cartVoList) {
        this.cartVoList = cartVoList;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public CartList() {
    }

    public CartList(List<CartVo> cartVoList, BigDecimal totalPrice) {
        this.cartVoList = cartVoList;
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "CartList{" +
                "cartVoList=" + cartVoList +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
